package main

import "fmt"

func main() {
	var a []int
	var b []int = []int{1, 2, 3}
	var c = []string{"Allen", "Luffy"}
	d := []float64{3.4, 5.6, 0.9}
	e := make([]int, 10)
	var f [5]int = [5]int{4, 5, 3}

	fmt.Printf("a = %v, type = %[1]T, len = %d, cap = %d\n", a, len(a), cap(a))
	fmt.Printf("b = %v, type = %[1]T, len = %d, cap = %d\n", b, len(b), cap(b))
	fmt.Printf("c = %v, type = %[1]T, len = %d, cap = %d\n", c, len(c), cap(c))
	fmt.Printf("d = %v, type = %[1]T, len = %d, cap = %d\n", d, len(d), cap(d))
	fmt.Printf("e = %v, type = %[1]T, len = %d, cap = %d\n", e, len(e), cap(e))
	fmt.Printf("f = %v, type = %[1]T, len = %d, cap = %d\n", f, len(f), cap(f))
}
